package edu.qqilin.springframework.core.io;

/**
 * Description: 资源加载器接口。
 * <p>
 * 定义了 getResource(String location) 方法，根据路径返回对应的 Resource。
 *
 * @author qqilin1213
 * @version 1.0
 * @date 2025/11/24 15:05
 */
public interface ResourceLoader {

    /**
     * Pseudo URL prefix for loading from the class path: "classpath:"
     */
    String CLASSPATH_URL_PREFIX = "classpath:";

    Resource getResource(String location);
}
